/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.bar.carta.model;

import com.liferay.portal.model.ModelWrapper;

/**
 * <p>
 * This class is a wrapper for {@link Plato}.
 * </p>
 *
 * @author    pgonzalm
 * @see       Plato
 * @generated
 */
public class PlatoWrapper implements Plato, ModelWrapper<Plato> {
	public PlatoWrapper(Plato plato) {
		_plato = plato;
	}

	public Class<?> getModelClass() {
		return Plato.class;
	}

	public String getModelClassName() {
		return Plato.class.getName();
	}

	/**
	* Returns the primary key of this plato.
	*
	* @return the primary key of this plato
	*/
	public long getPrimaryKey() {
		return _plato.getPrimaryKey();
	}

	/**
	* Sets the primary key of this plato.
	*
	* @param primaryKey the primary key of this plato
	*/
	public void setPrimaryKey(long primaryKey) {
		_plato.setPrimaryKey(primaryKey);
	}

	/**
	* Returns the plato ID of this plato.
	*
	* @return the plato ID of this plato
	*/
	public long getPlatoId() {
		return _plato.getPlatoId();
	}

	/**
	* Sets the plato ID of this plato.
	*
	* @param platoId the plato ID of this plato
	*/
	public void setPlatoId(long platoId) {
		_plato.setPlatoId(platoId);
	}

	/**
	* Returns the tipo ID of this plato.
	*
	* @return the tipo ID of this plato
	*/
	public long getTipoId() {
		return _plato.getTipoId();
	}

	/**
	* Sets the tipo ID of this plato.
	*
	* @param tipoId the tipo ID of this plato
	*/
	public void setTipoId(long tipoId) {
		_plato.setTipoId(tipoId);
	}

	/**
	* Returns the create date of this plato.
	*
	* @return the create date of this plato
	*/
	public java.util.Date getCreateDate() {
		return _plato.getCreateDate();
	}

	/**
	* Sets the create date of this plato.
	*
	* @param createDate the create date of this plato
	*/
	public void setCreateDate(java.util.Date createDate) {
		_plato.setCreateDate(createDate);
	}

	/**
	* Returns the activo of this plato.
	*
	* @return the activo of this plato
	*/
	public boolean getActivo() {
		return _plato.getActivo();
	}

	/**
	* Returns <code>true</code> if this plato is activo.
	*
	* @return <code>true</code> if this plato is activo; <code>false</code> otherwise
	*/
	public boolean isActivo() {
		return _plato.isActivo();
	}

	/**
	* Sets whether this plato is activo.
	*
	* @param activo the activo of this plato
	*/
	public void setActivo(boolean activo) {
		_plato.setActivo(activo);
	}

	/**
	* Returns the imagen of this plato.
	*
	* @return the imagen of this plato
	*/
	public long getImagen() {
		return _plato.getImagen();
	}

	/**
	* Sets the imagen of this plato.
	*
	* @param imagen the imagen of this plato
	*/
	public void setImagen(long imagen) {
		_plato.setImagen(imagen);
	}

	/**
	* Returns the precio of this plato.
	*
	* @return the precio of this plato
	*/
	public float getPrecio() {
		return _plato.getPrecio();
	}

	/**
	* Sets the precio of this plato.
	*
	* @param precio the precio of this plato
	*/
	public void setPrecio(float precio) {
		_plato.setPrecio(precio);
	}

	public boolean isNew() {
		return _plato.isNew();
	}

	public void setNew(boolean n) {
		_plato.setNew(n);
	}

	public boolean isCachedModel() {
		return _plato.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_plato.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _plato.isEscapedModel();
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _plato.getPrimaryKeyObj();
	}

	public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
		_plato.setPrimaryKeyObj(primaryKeyObj);
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _plato.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_plato.setExpandoBridgeAttributes(serviceContext);
	}

	@Override
	public java.lang.Object clone() {
		return new PlatoWrapper((Plato)_plato.clone());
	}

	public int compareTo(com.bar.carta.model.Plato plato) {
		return _plato.compareTo(plato);
	}

	@Override
	public int hashCode() {
		return _plato.hashCode();
	}

	public com.liferay.portal.model.CacheModel<com.bar.carta.model.Plato> toCacheModel() {
		return _plato.toCacheModel();
	}

	public com.bar.carta.model.Plato toEscapedModel() {
		return new PlatoWrapper(_plato.toEscapedModel());
	}

	@Override
	public java.lang.String toString() {
		return _plato.toString();
	}

	public java.lang.String toXmlString() {
		return _plato.toXmlString();
	}

	public void persist()
		throws com.liferay.portal.kernel.exception.SystemException {
		_plato.persist();
	}

	/**
	 * @deprecated Renamed to {@link #getWrappedModel}
	 */
	public Plato getWrappedPlato() {
		return _plato;
	}

	public Plato getWrappedModel() {
		return _plato;
	}

	public void resetOriginalValues() {
		_plato.resetOriginalValues();
	}

	private Plato _plato;
}